﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Llatext.Instructions;
using Llatext.Inventory;
using Llatext.Rooms;

namespace Inevitable.Rooms.Day1.Motel
{
    public class MotelRoom: IRoom
    {
        public Llatext.Instructions.Instruction Look()
        {
            throw new NotImplementedException();
        }

        public Llatext.Instructions.Instruction Introduction()
        {
            //Bit dirty - but this means it doesn't come from a savegame
            if (InventoryHandling.InventoryCount() != 0)
            {
                //clear the inventory
                InventoryHandling.RemoveAll();
                InevitableGUI.Output("You wake up the next morning. You grab some of your previous inventory items and take them with you");
                InevitableGUI.Output("End of Game for now ---");
                //TODO:

                return new Instruction(InstructionType.SAVE, "1"); //save day 1
            }
            else
            {
                //comes from a savegame
                InevitableGUI.Output("You wake up the next morning. You grab some of your previous inventory items and take them with you");
                InevitableGUI.Output("End of Game for now ---");
                //TODO:

                return new Instruction();
            }
        }

        public Llatext.Instructions.Instruction Examine(string parameter)
        {
            throw new NotImplementedException();
        }

        public Llatext.Instructions.Instruction Take(string parameter)
        {
            throw new NotImplementedException();
        }

        public Llatext.Instructions.Instruction Open(string parameter)
        {
            throw new NotImplementedException();
        }

        public Llatext.Instructions.Instruction Go(string parameter)
        {
            throw new NotImplementedException();
        }

        public Llatext.Instructions.Instruction Use(string parameter)
        {
            throw new NotImplementedException();
        }

        public Llatext.Instructions.Instruction Use(string[] items)
        {
            throw new NotImplementedException();
        }
    }
}
